<html>
<head><meta charset="utf-8"><title>no credentials Cargo.toml · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html">no credentials Cargo.toml</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="221091358"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221091358" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221091358">(Dec 28 2020 at 21:05)</a>:</h4>
<p>I go this error in <a href="https://github.com/rust-lang/rust/issues/79816">#79816</a></p>
<div class="codehilite"><pre><span></span><code>extracting /checkout/obj/build/cache/2020-11-19/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
error: failed to read `/checkout/src/tools/cargo/crates/credential/cargo-credential-1password/Cargo.toml`

Caused by:
  No such file or directory (os error 2)
</code></pre></div>
<p>Rebasing over master did not fix it so I'm lost</p>



<a name="221091431"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221091431" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221091431">(Dec 28 2020 at 21:06)</a>:</h4>
<p>I also have it locally, though I don't know why</p>



<a name="221093710"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221093710" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221093710">(Dec 28 2020 at 21:47)</a>:</h4>
<p>submodules are a pain</p>



<a name="221093776"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221093776" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221093776">(Dec 28 2020 at 21:48)</a>:</h4>
<p>I have modified (by mistake) the submodule links</p>



<a name="221093780"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221093780" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221093780">(Dec 28 2020 at 21:48)</a>:</h4>
<p>And now everything is strange</p>



<a name="221096768"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221096768" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221096768">(Dec 28 2020 at 22:38)</a>:</h4>
<p><code>cd</code> into the submodule and <code>git checkout -- .</code>?</p>



<a name="221096893"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221096893" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221096893">(Dec 28 2020 at 22:41)</a>:</h4>
<p>I cherry picked my branch in a new one</p>



<a name="221096909"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221096909" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221096909">(Dec 28 2020 at 22:41)</a>:</h4>
<p>It was the work of 5 minutes VS an hour of hair-pulling with submodules ^^</p>



<a name="221097009"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221097009" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221097009">(Dec 28 2020 at 22:43)</a>:</h4>
<p><span class="user-mention" data-user-id="307289">@Poliorcetics</span> FYI you don't have to open a new PR just because you made a new branch</p>



<a name="221097015"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221097015" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221097015">(Dec 28 2020 at 22:43)</a>:</h4>
<p>and in fact I'd prefer you didn't, it makes it easier to review</p>



<a name="221097134"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221097134" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221097134">(Dec 28 2020 at 22:45)</a>:</h4>
<p>git/github make this a little annoying to get working, but it would look like this:</p>
<ol>
<li>Reopen the old PR. Do this first; once you force-push it can't be re-opened.</li>
<li>Close the new PR.</li>
<li>Delete the old branch: <code>git branch -D rustdoc-fail-on-deny</code></li>
<li>Move the new branch to have the same name as the old branch: <code>git branch -m doc-fail-on-deny rustdoc-fail-on-deny</code></li>
<li>Push the new branch to the old PR: <code>git push -u poliorcetics rustdoc-fail-on-deny -f</code></li>
</ol>



<a name="221097610"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/no%20credentials%20Cargo.toml/near/221097610" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/no.20credentials.20Cargo.2Etoml.html#221097610">(Dec 28 2020 at 22:54)</a>:</h4>
<p>Done, sorry for the back and forth</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>